package com.protocol.sentjson;

import java.io.Serializable;

/**
 * @ClassName: CommunicationEntity
 * @Description: 前台交互实体
 * @author baozhijian
 * @date 2017年8月24日 下午4:17:55
 * @version V1.0
 */
@SuppressWarnings("serial")
public class SocketData implements Serializable {

	// 终端地址
	private String terminaladdress;
	// 发送数据
	private String message;
	// http请求 -real
	private String key;
	private String randonint;

	// 任务id，是否最后一帧 Task
	private String taskid;
	private boolean last;

	public String getTaskid() {
		return taskid;
	}

	public void setTaskid(String taskid) {
		this.taskid = taskid;
	}

	public boolean isLast() {
		return last;
	}

	public void setLast(boolean last) {
		this.last = last;
	}

	public String getTerminaladdress() {
		return terminaladdress;
	}

	public void setTerminaladdress(String terminaladdress) {
		this.terminaladdress = terminaladdress;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getRandonint() {
		return randonint;
	}

	public void setRandonint(String randonint) {
		this.randonint = randonint;
	}

}
